package com.mjt.computationalexperimentsplatform.Controller;

import com.mjt.computationalexperimentsplatform.service.TestService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController("test")
public class TestController {


    @Resource
    private TestService testService;
    @GetMapping("/test")
    public String test() {
        return testService.test();
    }
}
